package com.cnswhy.cloud.server.system.service.impl;


import com.cnswhy.cloud.server.system.dao.SystemResourceMapper;
import com.cnswhy.cloud.server.system.entity.SystemResource;
import com.cnswhy.cloud.server.system.service.SystemResourceService;
import com.cnswhy.cloud.common.core.base.service.SuperServiceImpl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 业务实现类
 * 资源
 * </p>
 *
 * @author cnswhy
 * @date 2020-10-11
 */
@Slf4j
@Service

public class SystemResourceServiceImpl extends SuperServiceImpl<SystemResourceMapper, SystemResource> implements SystemResourceService {


    @Override
    public List<Long> findMenuIdByResourceId(List<Long> resourceIdList) {
        return baseMapper.findMenuIdByResourceId(resourceIdList);
    }
}
